package com.upcode.weighing.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * APP版本控制表
 */
@TableName("app_eidtion_record")
public class AppEidtionRecord {

    /**
     * 主键ID
     */
    @TableId("id")
    private String id;

    /**
     * 版本名称
     */
    @NotNull(message = "版本名称不可为空")
    private String eidtionName;

    /**
     * 版本号
     */
    @NotNull(message = "版本号不可为空")
    private String eidtionCode;

    /**
     * 是否强制更新 0否 1是
     */
    private String isForceUpdate;

    /**
     * APPtype 0:安卓 1：IOS
     */
    @NotNull(message = "请选择包类型")
    private String appType;

    /**
     * 下载路径
     */
    @NotNull(message = "下载路径不可为空")
    private String downloadPath;

    /**
     * 文件名称
     */
    @NotNull(message = "文件名称不可为空")
    private String fileName;

    /**
     * 源文件名称
     */
    @NotNull(message = "源文件不可为空")
    private String origName;

    /**
     * 启用状态  0启用 1停用
     */
    private String status;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    public String getId() {
        return id;
    }

    public void setId( String id ) {
        this.id = id;
    }

    public String getEidtionName() {
        return eidtionName;
    }

    public void setEidtionName( String eidtionName ) {
        this.eidtionName = eidtionName;
    }

    public String getEidtionCode() {
        return eidtionCode;
    }

    public void setEidtionCode( String eidtionCode ) {
        this.eidtionCode = eidtionCode;
    }

    public String getIsForceUpdate() {
        return isForceUpdate;
    }

    public void setIsForceUpdate( String isForceUpdate ) {
        this.isForceUpdate = isForceUpdate;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType( String appType ) {
        this.appType = appType;
    }

    public String getDownloadPath() {
        return downloadPath;
    }

    public void setDownloadPath( String downloadPath ) {
        this.downloadPath = downloadPath;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName( String fileName ) {
        this.fileName = fileName;
    }

    public String getOrigName() {
        return origName;
    }

    public void setOrigName( String origName ) {
        this.origName = origName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus( String status ) {
        this.status = status;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate( LocalDateTime createDate ) {
        this.createDate = createDate;
    }
}
